package com.cac.demo.newCode.sorting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cac.demo.newCode.cemop.dto.MomAssSetoutMaterialDTO;
import com.cac.demo.newCode.sorting.entity.MsAoMatchBill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * AO物料配套清单 Mapper 接口
 * </p>
 *
 * @author xz
 * @since 2024-08-27
 */
@Mapper
public interface MsAoMatchBillMapper extends BaseMapper<MsAoMatchBill> {
    List<MsAoMatchBill> queryAoMatchBill(@Param("taskAoid")String taskAoid);
    public int insertOrUpdateAoMatchBill(@Param("data") MomAssSetoutMaterialDTO momAssSetoutMaterialDTO);

    //工艺更改数据保存
    public int matchBillChange(@Param("data") MomAssSetoutMaterialDTO momAssSetoutMaterialDTO);
}
